package src.first;

public class test5 {
    public static void main(String[] args) {
//        after1 after = new after1();
//        after1.Calculation calculation = after.new Calculation(10);
//        calculation.CalculationSum();
//        System.out.println(calculation.sum);

//        after2 after = new after2(2,5);
//        System.out.println(after.Multiplication());

        after3_1 after = new after3_1();
        after.test(new after3() {
            @Override
            public void print1() {
                System.out.println("调用匿名类中的print方法");
            }
        });
    }
}
